<?php
/* @var $this ProductsController */
/* @var $model Products */

$this->breadcrumbs=array(
	'Products'=>array('index'),
	$model->name,
);

$this->menu=array(
	array('label'=>'List Products', 'url'=>array('index')),
	array('label'=>'Create Products', 'url'=>array('create')),
	array('label'=>'Update Products', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Products', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Products', 'url'=>array('admin')),
);

?>

<h1>View Products #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'name',
		'i_order',
		'feature_img',
		'feature_smallimg',
		'introduction',
array('lable'=>'description','type'=>'raw',value=>CHtml::decode($model->description)),
		'price',
		'discount_price',
		'delivery_fee',
		'online_orderable',
		'recommended',
		'create_time',
		'product_category_id',
		's_locale',
		'pub_start_time',
		'pub_end_time',
		'published',
		'v_num',
		'for_roles',
		'is_seo',
		'meta_key',
		'meta_desc',
	),
)); ?>
